package com.airlines.crewassignment.domain;

import org.optaplanner.core.api.domain.entity.PlanningEntity;
import org.optaplanner.core.api.domain.variable.PlanningVariable;




/**
 * @author xxxx
 * @date 2018年3月28日 
 * @description
 */


@PlanningEntity//(difficultyComparatorClass=CrewPositionAssignmentDifficultyComparator.class)
public class CrewPositionAssignment {
	private Position position;
	
	@PlanningVariable(valueRangeProviderRefs = {"crewRange"}
//		,strengthComparatorClass=CrewStrengthComparator.class
		,nullable = true
			)
	private Crew crew;

	public Position getPosition() {
		return position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	public Crew getCrew() {
		return crew;
	}

	public void setCrew(Crew crew) {
		this.crew = crew;
	}
 
	
	
}
